import request from '@/utils/request'


export function usersList(params) {
  return request({
    url: '/users/lists',
    method: 'get',
    params
  })
}

export function updateUser(params) {
  return request({
    url: '/users/update',
    method: 'post',
    data: params
  })
}

export function updateUserIsDisplay(data) {
  return request({
    url: '/users/userChangeDisplay',
    method: 'post',
    data
  })
}


export function setUserConfig(data) {
  return request({
    url: '/users/setUserConfig',
    method: 'post',
    data
  })
}



export function getUserConfig() {
  return request({
    url: '/users/getUserConfig',
    method: 'get',
  })
}
